package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealMapper {
    //添加中间表t_setmeal_checkgroup
    public void addSetMealIdAndCheckgroupId(Map<String,Integer> map);
    //添加套餐组
    public void add(Setmeal setmeal);
    //分页展示套餐
    public Page<Setmeal> findPage(String queryString);
    //查询所有得套餐数据
    public List<Setmeal> getSetmeal();
    //根据id查询套餐得数据
    public Setmeal findById(Integer id);
    List<Map<String,Object>> findSetmealCount();
}
